package com.zjitc.dao;

import com.zjitc.model.Country;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 15:51
 * @description:
 */

public interface CountryDao {

   List<Country> findAll();

   int update(Country c);

   String   delete(String code);

   int add(Country c);

  Country findByCode(String code);

    Country showByCode(String code);
}
